<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/jquery.min.js"></script>
</head>
<body>
   <h1>测试文件上传</h1>
   <form action="/up" method="post" enctype="multipart/form-data">
      <input type="file" name="img" >
      <button>提交</button>
   </form>


   <h1>测试JSON</h1>
   <button>测试JSON</button>  

<script>
// $(function(){
   
//     $("button").click(function(){
       
//         $.ajax({
//             url:'http://localhost:9090/json',
//             success: function(data){
//                 console.log( data );
//             }
//         });
//     });
// });

let  y = [1,3.14, 0.88, 99]
let ok = y.map( v=> parseInt(v))

console.log( ok );

</script>
</body>
</html>